Skip to content

A few fixes for brakes and precoupled cargo#10

Merged
odwales20 merged 4 commits intoWallyCZ:masterfrom
Deadevilgrounds:master
Apr 16, 2026
Merged

A few fixes for brakes and precoupled cargo#10
odwales20 merged 4 commits intoWallyCZ:masterfrom
Deadevilgrounds:master

Conversation

@Deadevilgrounds
Copy link
Copy Markdown

There was a mistake in the brake being used during cruise.
Added a release brake method to release the brakes at critical steps in the primary loop.
Added some logic to skip the route-to-cargo (step 2) if the cargo is already attatched.

Bates Larsson added 3 commits March 27, 2026 14:30
Incorrect independent brake used when cruising
When starting off or at the end of the hookup the breaks should be released.
When the train is already hooked up to the cargo the second stage pathing can be skipped.
@WallyCZ
Copy link
Copy Markdown
Owner

WallyCZ commented Apr 2, 2026

Sorry, currently I have not an environment to test it. Did you tested it well? Or @odwales20 could you look at it?

@odwales20
Copy link
Copy Markdown
Collaborator

Ill have a look im currently busy in work so it will be next week

@Deadevilgrounds
Copy link
Copy Markdown
Author

Deadevilgrounds commented Apr 2, 2026

The braking has been tested on the DE2, DE6 and DH4.
I was looking into the DM3 as its breaking is more like the steam locos, it needs pulsing.

DM3 needed a tweak for detecting the RPM.
It also now more closely follows the gear shift pattern from the wiki.
It is functional but ideally we would read back the current level position so that resetting to 1,1 is not already required.
@Deadevilgrounds
Copy link
Copy Markdown
Author

Ive also updated the DM3 gear logic and the RPM detection code as the old one doesnt work anymore.
The DM3 is not perfect yet as its breaking needs fixing to be more like the stream. But it does shift up at least.

@odwales20 odwales20 merged commit b3e29a1 into WallyCZ:master Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants